www.gusucode.com > 红色大方的企业网站源码 1 > 红色大方的企业网站源码 1.0/qiye_red/Feedback.asp
<!--#include file="Inc/SysProduct.asp" --> <% UserName=Session("UserName") set rs = Server.CreateObject("ADODB.recordset") sql="select * from User where UserName='"&UserName&"'" rs.open sql,conn,1,1 %> <!-- #include file="Head.asp" --> <SCRIPT language=javaScript> function emailt() { if(document.form1.Email.value.length!=0) { if (document.form1.Email.value.charAt(0)=="." || document.form1.Email.value.charAt(0)=="@"|| document.form1.Email.value.indexOf('@', 0) == -1 || document.form1.Email.value.indexOf('.', 0) == -1 || document.form1.Email.value.lastIndexOf("@")==document.form1.Email.value.length-1 || document.form1.Email.value.lastIndexOf(".")==document.form1.Email.value.length-1) { alert("Email地址格式不正确!"); document.form1.Email.focus(); return false; } } else { alert("Email不能为空!"); document.form1.Email.focus(); return false; } } </SCRIPT> <table width="1000" height="579" border="0" align="center" cellpadding="0" cellspacing="0"> <tbody> <tr> <td width="265" height="563" valign="top" background="imgbsy/l1.jpg"><table cellspacing="0" cellpadding="0" width="265" border="0"> <tbody> <tr> <td><img height="34" src="imgbsy/gg.jpg" width="265" /></td> </tr> <tr> <td valign="top" width="265" background="imgbsy/gg11.jpg" height="114"><table width="245" border="0"> <tbody> <tr> <td width="10"> </td> <td width="225"><marquee onmouseover="this.stop()" style="FONT-SIZE: 9pt; COLOR: #000000" onmouseout="this.start()" scrollamount="1" scrolldelay="50" direction="up" width="210" height="90"> <table bordercolor="#ffffff" cellspacing="0" cellpadding="0" width="210" align="center" border="0"> <tbody> <% set rs_news=server.createobject("adodb.recordset") sqltext4="select top 1 * from Affiche order by id desc" rs_news.open sqltext4,conn,1,1 %> <%i=0 do while not rs_news.eof%> <tr> <td valign="top"> <span class="px12"> 本站公告: <a href='#' onclick="javascript:window.open('Affiche.asp?ID=<%=rs_news("id")%>', 'newwindow', 'height=450, width=400, toolbar=no, menubar=no, scrollbars=auto, resizable=no, location=no, status=no')" title='<%=cutstr(rs_news("title"),15)%>'><font color='#FF0000'><%=cutstr(rs_news("title"),15)%></font></a> </td> </tr> <%rs_news.movenext i=i+1 if i=6 then exit do loop rs_news.close %> </tbody> </table> </marquee></td> </tr> </tbody> </table></td> </tr> <tr> <td><img height="30" src="imgbsy/feed1.gif" width="265" /></td> </tr> <tr> <td><img height="9" src="imgbsy/fbjx1_07.jpg" width="265" /></td> </tr> <tr> <td valign="top" background="imgbsy/fbjx1_08.jpg"><table width="245" border="0"> <tbody> <tr> <td width="49" height="25"><div align="right"><img height="4" src="imgbsy/d1.gif" width="4" /></div></td> <td class="px12-5" width="186"> <a href="FeedbackView.asp" class="px12-5">查看留言</a> </td> </tr> <tr> <td colspan="2" align="right"><table width="90%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="1" bgcolor="#EBEBEB"></td> </tr> </table></td> </tr> <tr> <td width="49" height="25"><div align="right"><img height="4" src="imgbsy/d1.gif" width="4" /></div></td> <td class="px12-5" width="186"> <a href="Feedback.asp" class="px12-5">我要留言</a> </td> </tr> <tr> <td colspan="2" align="right"><table width="90%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="1" bgcolor="#EBEBEB"></td> </tr> </table></td> </tr> </tbody> </table></td> </tr> <tr> <td><img height="9" src="imgbsy/fbjx1_10.jpg" width="265" /></td> </tr> <tr> <td><img height="37" src="imgbsy/con1.gif" width="265" /></td> </tr> <tr> <td valign="top" width="265" background="imgbsy/tu1.jpg" height="180" style="padding-top:5px;"> <!--#include file="qq.asp" --> </td> </tr> </tbody> </table></td> <td valign="top" background="imgbsy/fbjx1_04.jpg"><table cellspacing="0" cellpadding="0" width="735" border="0"> <tbody> <tr> <td width="735" height="38" background="imgbsy/title.gif"><table width="735" height="38" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="173" class="about1">在线留言</td> <td width="388"> </td> <td width="174" class="about2"> 首页 >> 留言中心</td> </tr> </table></td> </tr> <tr> <td valign="top" background="imgbsy/fbjx1_04.jpg" bgcolor="#FFFFFF"><table cellspacing="0" cellpadding="0" width="700" align="center"> <tbody> <tr> <td class="px12" valign="top" style=" padding-top:20px; padding-left:10px; padding-right:15px; line-height:25px;"> <form action="FeedbackSave.asp?Language=ch" method="post" name="f1" id="f1" onsubmit="return emailt()"> <table width="95%" height="409"border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#E3E3E3"> <tr> <input type="hidden" name="Username" value="" /> <td height="25" align="right" bgcolor="#FFFFFF">主题: </td> <td height="25" bgcolor="#FFFFFF"><input type="text" name="Title" size="42" maxlength="36" style="font-size: 14px" /> *</td> </tr> <tr> <td height="25" align="right" bgcolor="#FFFFFF">内容 *:</td> <td height="25" bgcolor="#FFFFFF"><textarea rows="10" name="Content" cols="45" style="font-size: 14px" ></textarea></td> </tr> <tr> <td width="23%" height="25" align="right" bgcolor="#FFFFFF">公司名称:</td> <td width="77%" height="-6" bgcolor="#FFFFFF"><font> <input type="text" name="CompanyName" size="30" maxlength="36" value="" style="font-size: 14px" /> </font>* </td> </tr> <tr> <td height="25" align="right" bgcolor="#FFFFFF">公司地址:</td> <td height="-2" bgcolor="#FFFFFF"><font> <input name="Add" type="text" id="Add" style="font-size: 14px" value="" size="40" maxlength="60" /> </font></td> </tr> <tr> <td height="25" align="right" bgcolor="#FFFFFF">邮编:</td> <td height="-2" bgcolor="#FFFFFF"><font> <input name="Postcode" type="text" id="Postcode" style="font-size: 14px" value="" size="12" maxlength="6" /> </font></td> </tr> <tr> <td height="25" align="right" bgcolor="#FFFFFF">联系人:</td> <td width="77%" height="-2" bgcolor="#FFFFFF"><font> <input type="text" name="Receiver" size="12" maxlength="30" value="" style="font-size: 14px" /> </font> * </td> </tr> <tr> <td height="25" align="right" bgcolor="#FFFFFF">联系电话:</td> <td width="77%" height="-1" bgcolor="#FFFFFF"><font> <input type="text" name="Phone" size="24" maxlength="36" value="" style="font-size: 14px" /> </font>* </td> </tr> <tr> <td height="25" align="right" bgcolor="#FFFFFF">手机:</td> <td height="11" bgcolor="#FFFFFF"><font> <input name="Mobile" type="text" id="Mobile" style="font-size: 14px" value="" size="24" maxlength="36" /> </font></td> </tr> <tr> <td height="25" align="right" bgcolor="#FFFFFF">联系传真:</td> <td width="77%" height="11" bgcolor="#FFFFFF"><font> <input type="text" name="Fax" size="18" maxlength="36" value="" style="font-size: 14px" /> </font></td> </tr> <tr> <td height="25" align="right" bgcolor="#FFFFFF">E-mail:</td> <td height="11" bgcolor="#FFFFFF"><font> <input type="text" name="Email" size="18" maxlength="36" value="" style="font-size: 14px" /> </font></td> </tr> <tr style=" display:none"> <td height="25" align="right" bgcolor="#FFFFFF">悄悄话:</td> <td width="77%" height="11" bgcolor="#FFFFFF"> <input name="Publish" type="hidden" value="0" checked="checked" /> <font color='#ff6600'>非注册会员不可设</font> (只有管理员和自己能看)</td> </tr> <tr> <td width="23%" height="0" valign="top" bgcolor="#FFFFFF"></td> <td width="77%" height="0" valign="top" bgcolor="#FFFFFF"><input type="submit" value="提交留言" name="cmdOk" /> <input type="reset" value="重写" name="cmdReset" /> </td> </tr> </table> </form></td> </tr> </tbody> </table></td> </tr> </tbody> </table></td> </tr> <tr valign="top"> <td background="imgbsy/m1.jpg" colspan="2"></td> </tr> <tr valign="top"> <td colspan="2" background="imgbsy/m1.jpg" bgcolor="#FFFFFF"></td> </tr> <tr valign="top"> <td colspan="2" height="16"><img height="16" src="imgbsy/b1.jpg" width="1000" /></td> </tr> </tbody> </table> <!--#include file="foot.asp" -->